import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.example.BootIoCMybatisApplication;
import org.example.Service.EmpService;
import org.example.util.JsonResult;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @Auther:Liu
 * @Testname:app
 * @Date:2025/7/29 17:16
 */
@Slf4j
@SpringBootTest(classes = {BootIoCMybatisApplication.class})//
public class app {
    @Resource
    EmpService empService;
    @Test
    public void a(){
        JsonResult all = empService.find();
        log.info("all:{}",all);
    }
}
